<template>
    <div id="container" ref="mapContainer"></div>
</template>

<script>
import { init } from '@/map/map';
import JSONData from '/src/map/新疆.json'
export default{
    name:"OpenMap",
    data(){
        return{}
    },
    mounted(){
        console.log(JSONData)
        const map = init("container");
    }
}
</script>

<style scoped>
#container{
    width: 100vw;
    height: 100vh;
}
</style>